package com.jswj.word.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 关键词对象 word
 *
 * @author whh
 * @date 2021-06-26
 */
@Data
public class Word extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     * 关键词分组
     */
    @Excel(name = "关键词分组")
    private String wordGroup;

    /**
     * 关键词
     */
    @Excel(name = "关键词")
    private String words;

    /**
     * 媒体平台
     */
    @Excel(name = "媒体平台")
    private String mediaIds;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setWordGroup(String wordGroup) {
        this.wordGroup = wordGroup;
    }

    public String getWordGroup() {
        return wordGroup;
    }

    public void setWords(String words) {
        this.words = words;
    }

    public String getWords() {
        return words;
    }

    public void setMediaIds(String mediaIds) {
        this.mediaIds = mediaIds;
    }

    public String getMediaIds() {
        return mediaIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("wordGroup", getWordGroup())
                .append("words", getWords())
                .append("mediaIds", getMediaIds())
                .toString();
    }
}
